<!DOCTYPE html>
<html class="no-js">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>KoScopeCreator</title>
    <link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
    <script>var pathToRoot = "../../../";</script>
    <script>document.documentElement.classList.replace("no-js","js");</script>
    <script>const storage = localStorage.getItem("dokka-dark-mode")
    if (storage == null) {
        const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
        if (osDarkSchemePreferred === true) {
            document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
    } else {
        const savedDarkMode = JSON.parse(storage)
        if(savedDarkMode === true) {
            document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
    }
    </script>
<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
<link href="../../../styles/style.css" rel="Stylesheet">
<link href="../../../styles/main.css" rel="Stylesheet">
<link href="../../../styles/prism.css" rel="Stylesheet">
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
<link href="../../../styles/font-jb-sans-auto.css" rel="Stylesheet">
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/main.js" defer="defer"></script>
<script type="text/javascript" src="../../../scripts/prism.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
</head>
<body>
    <div class="root">
<nav class="navigation" id="navigation-wrapper">
    <div class="navigation--inner">
        <div class="navigation-title">
            <button class="menu-toggle" id="menu-toggle" type="button">toggle menu</button>
            <div class="library-name">
                    <a class="library-name--link" href="../../../index.html">
                            Konsist 0.17.0
                    </a>
            </div>
            <div class="library-version">
            </div>
        </div>
        <div class="filter-section" id="filter-section">
                <button class="platform-tag platform-selector jvm-like" data-active="" data-filter=":lib:dokkaHtml/main">jvm</button>
        </div>
    </div>
    <div class="navigation-controls">
        <button class="navigation-controls--btn navigation-controls--theme" id="theme-toggle-button" type="button">switch theme</button>
        <div class="navigation-controls--btn navigation-controls--search" id="searchBar" role="button">search in API</div>
    </div>
</nav>
        <div id="container">
            <div class="sidebar" id="leftColumn">
                <div class="sidebar--inner" id="sideMenu"></div>
            </div>
            <div id="main">
<div class="main-content" data-page-type="classlike" id="content" pageIds="Konsist 0.17.0::com.lemonappdev.konsist.api.container/KoScopeCreator///PointingToDeclaration//1440829338">
  <div class="breadcrumbs"><a href="../../../index.html">Konsist 0.17.0</a><span class="delimiter">/</span><a href="../index.html">com.lemonappdev.konsist.api.container</a><span class="delimiter">/</span><span class="current">KoScopeCreator</span></div>
  <div class="cover ">
    <h1 class="cover"><span>Ko</span><wbr></wbr><span>Scope</span><wbr></wbr><span><span>Creator</span></span></h1>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">interface </span><a href="index.html">KoScopeCreator</a></div><p class="paragraph">Scope creator.</p><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> instance from the given set of files such as all project files, single module, path etc.</p><h4 class="">Inheritors</h4><div class="table"><div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><a href="../../com.lemonappdev.konsist.api/-konsist/index.html">Konsist</a></div></span></div><div></div></div></div></div></div></div>
  </div>
  <div class="tabbedcontent">
    <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button></div>
    <div class="tabs-section-body">
      <div data-togglable="PROPERTY">
        <h2 class="">Properties</h2>
        <div class="table"><a data-name="1909477773%2FProperties%2F1440829338" anchor-label="projectRootPath" id="1909477773%2FProperties%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="project-root-path.html"><span>project</span><wbr></wbr><span>Root</span><wbr></wbr><span><span>Path</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1909477773%2FProperties%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">val </span><a href="project-root-path.html">projectRootPath</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></div><div class="brief "><p class="paragraph">Creates a path to the root project directory.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div data-togglable="FUNCTION">
        <h2 class="">Functions</h2>
        <div class="table"><a data-name="1095120746%2FFunctions%2F1440829338" anchor-label="scopeFromDirectories" id="1095120746%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-directories.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>Directories</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1095120746%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-directories.html"><span class="token function">scopeFromDirectories</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">paths<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html">Collection</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the given directories.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1350658437%2FFunctions%2F1440829338" anchor-label="scopeFromDirectory" id="-1350658437%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-directory.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>Directory</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1350658437%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-directory.html"><span class="token function">scopeFromDirectory</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">path<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">vararg </span>paths<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the given directory.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1408490667%2FFunctions%2F1440829338" anchor-label="scopeFromExternalDirectories" id="-1408490667%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-external-directories.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span>External</span><wbr></wbr><span><span>Directories</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1408490667%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-external-directories.html"><span class="token function">scopeFromExternalDirectories</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">absolutePaths<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html">Collection</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the given directories. Some features (as <code class="lang-kotlin">KoFile.projectPath</code>, <code class="lang-kotlin">KoFile.moduleName</code>) do not work with this method.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1928748112%2FFunctions%2F1440829338" anchor-label="scopeFromExternalDirectory" id="-1928748112%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-external-directory.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span>External</span><wbr></wbr><span><span>Directory</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1928748112%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-external-directory.html"><span class="token function">scopeFromExternalDirectory</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">absolutePath<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">vararg </span>paths<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the given directory. Some features (as <code class="lang-kotlin">KoFile.projectPath</code>, <code class="lang-kotlin">KoFile.moduleName</code>) do not work with this method.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1881222106%2FFunctions%2F1440829338" anchor-label="scopeFromFile" id="-1881222106%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-file.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>File</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1881222106%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-file.html"><span class="token function">scopeFromFile</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">path<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">vararg </span>paths<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> of a given file.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1915432258%2FFunctions%2F1440829338" anchor-label="scopeFromFiles" id="-1915432258%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-files.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>Files</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1915432258%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-files.html"><span class="token function">scopeFromFiles</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">paths<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html">Collection</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> of a given files.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1279074922%2FFunctions%2F1440829338" anchor-label="scopeFromModule" id="-1279074922%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-module.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>Module</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1279074922%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-module.html"><span class="token function">scopeFromModule</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">moduleName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">vararg </span>moduleNames<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the module. Method does return Kotlin files present in build directories such as &quot;build&quot; and &quot;target&quot;.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1531534290%2FFunctions%2F1440829338" anchor-label="scopeFromModules" id="-1531534290%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-modules.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>Modules</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1531534290%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-modules.html"><span class="token function">scopeFromModules</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">moduleNames<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html">Collection</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the module. Method does return Kotlin files present in build directories such as &quot;build&quot; and &quot;target&quot;.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="758000863%2FFunctions%2F1440829338" anchor-label="scopeFromPackage" id="758000863%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-package.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>Package</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="758000863%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-package.html"><span class="token function">scopeFromPackage</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">packagee<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">moduleName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">sourceSetName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the given package. Method does return Kotlin files present in build directories such as &quot;build&quot; and &quot;target&quot;.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1833616951%2FFunctions%2F1440829338" anchor-label="scopeFromProduction" id="-1833616951%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-production.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>Production</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1833616951%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-production.html"><span class="token function">scopeFromProduction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">moduleName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">sourceSetName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the production source sets. The production source set is the source set which name does not start and ends with &quot;test&quot;. Method does return Kotlin files present in build directories such as &quot;build&quot; and &quot;target&quot;.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1672084759%2FFunctions%2F1440829338" anchor-label="scopeFromProject" id="1672084759%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-project.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>Project</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1672084759%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-project.html"><span class="token function">scopeFromProject</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">moduleName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">sourceSetName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">ignoreBuildConfig<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the project. Method does return Kotlin files present in build directories such as &quot;build&quot; and &quot;target&quot;.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1373191125%2FFunctions%2F1440829338" anchor-label="scopeFromSourceSet" id="1373191125%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-source-set.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span>Source</span><wbr></wbr><span><span>Set</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1373191125%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-source-set.html"><span class="token function">scopeFromSourceSet</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">sourceSetName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">vararg </span>sourceSetNames<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in source set. If the source set is present in multiple modules then all of them will be included. Method does return Kotlin files present in build directories such as &quot;build&quot; and &quot;target&quot;.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="2011548397%2FFunctions%2F1440829338" anchor-label="scopeFromSourceSets" id="2011548397%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-source-sets.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span>Source</span><wbr></wbr><span><span>Sets</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2011548397%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-source-sets.html"><span class="token function">scopeFromSourceSets</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">sourceSetNames<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html">Collection</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in source set. If the source set is present in multiple modules then all of them will be included. Method does return Kotlin files present in build directories such as &quot;build&quot; and &quot;target&quot;.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1522617502%2FFunctions%2F1440829338" anchor-label="scopeFromTest" id="-1522617502%2FFunctions%2F1440829338" data-filterable-set=":lib:dokkaHtml/main"></a>
          <div class="table-row" data-filterable-current=":lib:dokkaHtml/main" data-filterable-set=":lib:dokkaHtml/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="scope-from-test.html"><span>scope</span><wbr></wbr><span>From</span><wbr></wbr><span><span>Test</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1522617502%2FFunctions%2F1440829338"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":lib:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">fun </span><a href="scope-from-test.html"><span class="token function">scopeFromTest</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">moduleName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">sourceSetName<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-ko-scope/index.html">KoScope</a></div><div class="brief "><p class="paragraph">Creates a <a href="../-ko-scope/index.html">KoScope</a> containing all of Kotlin files in the test source sets. The test source set is the source set which name starts or ends with &quot;test&quot;. Method does return Kotlin files present in build directories such as &quot;build&quot; and &quot;target&quot;.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
      <div class="footer">
        <span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span
                class="pull-right"><span>Generated by </span><a
                href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
      </div>
            </div>
        </div>
    </div>
</body>
</html>
